<!-- 引入模板 -->
@extends('admin/layout/index')

<!-- 主要内容 -->
@section('content')
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
		<span><i class="icon-pencil"></i>用户修改</span>
	</div>
	<div class="mws-panel-body no-padding">
		<form class="mws-form" action="/admin/user/update/{{ $data['id'] }}" method='post'>
			{{ csrf_field() }}
			<div class="mws-form-inline">
				<div class="mws-form-row">
					<label class="mws-form-label">用户名</label>
					<div class="mws-form-item">
						<input type="text" class="large" name='username' placeholder="">
					</div>
				</div>
				<div class="mws-form-row">
					<label class="mws-form-label">修改密码</label>
					<div class="mws-form-item">
						<input type="password" class="large" name='password'>
					</div>
				</div>
				<div class="mws-form-row">
					<label class="mws-form-label">确认密码</label>
					<div class="mws-form-item">
						<input type="password" class="large" name='repassword'>
					</div>
				</div>
				<div class="mws-form-row">
					<label class="mws-form-label">状态</label>
					<div class="mws-form-item">
						<select name="status" id="">
							<option value="0">禁用</option>
							<option value="1">可用</option>
						</select>
					</div>
				</div>
				<div class="mws-form-row">
					<label class="mws-form-label">权限</label>
					<div class="mws-form-item">
						<select name="auth" id="">
							<option value="0">普通用户</option>
							<option value="1">管理员</option>
						</select>
					</div>
				</div>
				<div class="mws-form-row">
					<div class="mws-form-item">
						<input type="submit" value='提交'>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
@endsection